package com.ebc.eservice.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author: Joey
 * @Description:账户列表 Response
 * @date:2022/9/23 0:59
 */
@Data
public class UserListVo {
    //u.id,u.name,u.phone,r.role_name,u.create_time,u.create_id
    private Integer id;
    private String name;
    private String phone;
    private String roleName;
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")//HH:mm:ss
    private Date updateTime;
    private Integer createId;
    private String creator;
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")//HH:mm:ss
    private Date createTime;
}
